package com.ruoyi.project.WebMoudle.shopCarouse.mapper;

import java.util.List;
import com.ruoyi.project.WebMoudle.shopCarouse.domain.ShopCarousel;

/**
 * 店铺轮播Mapper接口
 * 
 * @author ruoyi
 * @date 2020-06-29
 */
public interface ShopCarouselMapper 
{
    /**
     * 查询店铺轮播
     * 
     * @param id 店铺轮播ID
     * @return 店铺轮播
     */
    public ShopCarousel selectShopCarouselById(Long id);

    /**
     * 查询店铺轮播列表
     * 
     * @param shopCarousel 店铺轮播
     * @return 店铺轮播集合
     */
    public List<ShopCarousel> selectShopCarouselList(ShopCarousel shopCarousel);

    /**
     * 新增店铺轮播
     * 
     * @param shopCarousel 店铺轮播
     * @return 结果
     */
    public int insertShopCarousel(ShopCarousel shopCarousel);

    /**
     * 修改店铺轮播
     * 
     * @param shopCarousel 店铺轮播
     * @return 结果
     */
    public int updateShopCarousel(ShopCarousel shopCarousel);

    /**
     * 删除店铺轮播
     * 
     * @param id 店铺轮播ID
     * @return 结果
     */
    public int deleteShopCarouselById(Long id);

    /**
     * 批量删除店铺轮播
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteShopCarouselByIds(String[] ids);

    List<String> selectShopCarouselByShopId(Long shopId);
}
